package com.jingdianjichi.subject.domain.service;

import com.jingdianjichi.subject.domain.entity.SubjectCategoryBo;
import com.jingdianjichi.subject.infra.basic.service.SubjectCategoryService;

import javax.annotation.Resource;
import java.util.List;

public interface SubjectCategoryDomainService {

    void add(SubjectCategoryBo subjectCategoryBo);

    /**
     * 查询分类
     * @param subjectCategoryBo
     * @return
     */
    List<SubjectCategoryBo> queryCategory(SubjectCategoryBo subjectCategoryBo);

    /**
     * 更新分类
     * @param subjectCategoryBo
     */
    void updateCategory(SubjectCategoryBo subjectCategoryBo);

    void deleteCategory(SubjectCategoryBo subjectCategoryBo);
}
